/* themeConfigProp */
export type LayoutType = 'vertical'
type IcmpSize = 'large' | 'default' | 'small' 
export interface ThemeConfigProps {
  maximize: boolean
  layout: LayoutType
  isCollapse: boolean
  breadcrumb: boolean
  breadcrumbIcon: boolean
  // 标签页
  tabs: boolean,
  // 标签页图标
  tabsIcon: boolean,
  footer: boolean
  isDark: boolean
  primary: string
  isGrey: boolean
  isWeak: boolean
  isWartermark: boolean
  wartermarkText: string
  globalComponentSize: IcmpSize
}

/* GlobalState */
export interface GlobalState {
  token: string
  userInfo: any
  language: string
  themeConfig: ThemeConfigProps
}

/* AuthState */
export interface AuthState {
  routeName: string
  authButtonList: {
    [key: string]: string[]
  }
  // eslint-disable-next-line no-undef
  authMenuList: Menu.MenuOptions[]
}

/* keepAliveState */
export interface keepAliveState {
  keepAliveName: string[]
}

/* tabsMenuProps */
export interface TabsMenuProps {
	icon: string;
	title: string;
	path: string;
	name: string;
	close: boolean;
}

/* TabsState */
export interface TabsState {
	tabsMenuList: TabsMenuProps[];
}
